package com.eshop.modules.activity.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.modules.activity.service.dto.StoreVisitDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.modules.activity.service.dto.StoreVisitQueryCriteria;
import com.eshop.modules.activity.domain.StoreVisit;
import com.eshop.common.service.BaseService;

public interface StoreVisitService extends BaseService<StoreVisit>
{
    Map<String, Object> queryAll(final StoreVisitQueryCriteria criteria, final Pageable pageable);
    
    List<StoreVisit> queryAll(final StoreVisitQueryCriteria criteria);
    
    void addStoreVisit(final Long uid, final Long productId);
    
    void download(final List<StoreVisitDto> all, final HttpServletResponse response) throws IOException;
}
